package edu.sctu.nieyu.day20150526;

/**
 * Created by Administrator on 2015/5/26.
 */
public class Data {
    /**
     * 数据录入
     */



   public Window[] getWindow(){
       Window window = new Window();
       window.setWindowName("A窗口");

       Window window1 = new Window();
       window1.setWindowName("B窗口");

       Window[] windows = {window,window1};
       return windows;
   }


    public CampusCard campusCardMessage(){
        CampusCard cc = new CampusCard();
        cc.setCardNumber(10086);
        cc.setSum(100);
        return cc;
    }

    public Seat[] seatNumber(){
        Seat seat = new Seat();
        seat.setNumber(11);
        Seat seat1 = new Seat();
        seat1.setNumber(12);
        Seat seat2 = new Seat();
        seat2.setNumber(13);
        Seat seat3 = new Seat();
        seat3.setNumber(14);
        Seat seat4 = new Seat();
        seat4.setNumber(15);

        Seat[] seats = {seat,seat1,seat2,seat3,seat4};
        return seats;

    }
}
